home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20030409-20031118 / 000245_amarsh@ncpgg.adelaide.edu.au_Fri Aug 29 14:28:33 EDT 2003.msg < prev    next >
Text File  |  2003-11-18  |  2KB  |  69 lines

  1. Article: 14485 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
  3. From: Arthur Marsh <amarsh@ncpgg.adelaide.edu.au>
  4. Organization: National Centre for Petroleum Geology and Geophysics
  5. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
  6. X-Accept-Language: en-us, en
  7. MIME-Version: 1.0
  8. Newsgroups: comp.protocols.kermit.misc
  9. Subject: SSH command in C-Kermit - how does it get -l paramater
  10. Content-Type: text/plain; charset=us-ascii; format=flowed
  11. Content-Transfer-Encoding: 7bit
  12. X-Original-NNTP-Posting-Host: rudolph.ncpgg.adelaide.edu.au
  13. Message-ID: <3f4e97b6$1@yorrell.saard.net>
  14. X-Original-Trace: 29 Aug 2003 09:30:54 +0950, rudolph.ncpgg.adelaide.edu.au
  15. Lines: 47
  16. Date: Fri, 29 Aug 2003 00:00:57 GMT
  17. NNTP-Posting-Host: 203.21.37.20
  18. X-Trace: news.optus.net.au 1062115257 203.21.37.20 (Fri, 29 Aug 2003 10:00:57 EST)
  19. NNTP-Posting-Date: Fri, 29 Aug 2003 10:00:57 EST
  20. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14485
  21.  
  22. Hi, I want to be able to use the SSH command in C-Kermit (8.0.210 
  23. Dev.00, 25 Aug 2003, under Solaris 7/SPARC compiled with GCC 3.3) to 
  24. connect to a  few different remote systems where I have accounts with 
  25. different usernames.
  26.  
  27. I could do
  28.  
  29. ssh -l differentusername hostname
  30.  
  31. each time
  32.  
  33. but wonder why when I do:
  34.  
  35. set telnet env user differentusername
  36.  
  37. then
  38.  
  39. ssh hostname
  40.  
  41. C-Kermit does:
  42.  
  43. Connecting via command "ssh -e none -l amarsh hostname"
  44.  
  45. I would have thought that the argument to the -l parameter would be the 
  46. current value of \v(userid), which is set by the set telnet env user 
  47. command. How does C-Kermit get the value for the -l parameter of the SSH 
  48. command?
  49.  
  50. Under K95 2.1.4, if I set telnet env differentusername then ssh 
  51. hostname, I get prompted for differentusername's password as expected.
  52.  
  53. Another oddity under C-Kermit is that if I attempt an SSH login which 
  54. fails and returns to the C-Kermit prompt, then type Connect, I get:
  55.  
  56. DNS Lookup... Can't get address for ssh -e none -l username host
  57.  
  58. Upon issuing the Connect command in K95, I get the SSH password prompt 
  59. as expected.
  60.  
  61. I realise that SSH is an external command in C-Kermit and built-in to 
  62. K95, but think it should be possible for the C-Kermit version to behave 
  63. more closely like the K95 version in the two cases above.
  64.  
  65. Regards,
  66.  
  67. Arthur.
  68.  
  69.